package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.common.Vo.Reviewer;
import com.example.entity.Position;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ptuDai
 * @since 2022-04-16
 */
@Component
public interface PositionMapper extends BaseMapper<Position> {

    List<Reviewer> listReviewer(@Param("level") Integer level, @Param("departmentId") Integer departmentId);
}
